﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.PB
{
    /// <summary>
    /// 回货单明细
    /// </summary>
    [Table("PB_ReturnDetailLog")]
    public partial class PB_ReturnDetailLog
    {

        /// <summary>
        /// Id
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 回货单Id(关联PB_Return)
        /// </summary>
        public String ParentId { get; set; }

        /// <summary>
        /// 项目Id
        /// </summary>
        public String ProjectId { get; set; }

        /// <summary>
        /// 物料Id
        /// </summary>
        public String MaterialId { get; set; }

        /// <summary>
        /// 物料编号
        /// </summary>
        public String MaterialCode { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public String MaterialName { get; set; }

        /// <summary>
        /// 物料规格
        /// </summary>
        public String MaterialSpec { get; set; }

        /// <summary>
        /// 发货数量
        /// </summary>
        public Double? DeliverNums { get; set; }

        /// <summary>
        /// 分拣数量
        /// </summary>
        public Double? SortingSum { get; set; }

        /// <summary>
        /// 已回货数量
        /// </summary>
        public Double? ReturnNums { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public String Remarks { get; set; }

        /// <summary>
        /// 创建人id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 创建人姓名
        /// </summary>
        public String CreatorRealName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 删除状态：0=未删除；1＝已删除；
        /// </summary>
        public Boolean? Deleted { get; set; }

        /// <summary>
        /// 二维码
        /// </summary>
        public String QrCode { get; set; }
        /// <summary>
        /// 本次回货量
        /// </summary>
        public Double? ThisReturnNums { get; set; }

        /// <summary>
        /// 楼号id
        /// </summary>
        public string BuildingId { get; set; }
    }
}